/*	talmud - The TALMUD roguelike
 * Copyright (C) 2012, talmud contributors
 *
 *  This program is free software; you can redistribute it and/or modify it
 *  under the terms of Version 2 of the GNU General Public License as published
 *  by the Free Software Foundation.
 *
 *  This program is distributed in the hope that it will be useful, but WITHOUT
 *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 *  FITNESS FOR A PARTICULAR PURPOSE. See Version 2 of the GNU General Public
 *  License for more details.
 *
 *  You should have received a copy of the GNU General Public License along
 *  with this program; if not, write to the Free Software Foundation, Inc.,
 *  59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

#ifndef playermanage_h
#define playermanage_h

#include <stdint.h>

#define INVMAX		26

#define INV_NONE	0xFF

void Lucky(int8_t adj);
void Religious(int8_t adj);
void PromptID(uint8_t itype);
void Identify(uint8_t itype);
void SortInventory(void);
uint8_t ItemWorn(uint8_t invidx);
void InitPlayer(uint8_t race, uint8_t class);
void BuildPlayer(void);
void PlayerLevels(void);
void PlayerEnters(uint8_t whence);
uint8_t MovePlyr(int8_t dx, int8_t dy);
uint8_t GoUp(void);
uint8_t GoDn(void);
void UpdatePlyr(void);
void DrawPlyr(void);
uint8_t PlyrDmg(uint16_t dmg);
void PlyrHeal(uint16_t healing);
void PlyrInvis(uint16_t turns);
void PlyrInfravis(uint16_t turns);
uint8_t PlyrDead(void);
void PlyrExp(uint32_t xp);
void PlyrPickup(uint32_t itemidx);
void PlyrDrop(uint8_t invidx);
uint8_t PlyrQuaff(uint8_t invidx);
uint8_t PlyrWield(uint8_t invidx);
uint8_t PlyrWear(uint8_t invidx);
uint8_t PlyrTakeoff(uint8_t invidx);

#endif
